package com.test.ssm.dao;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

import com.test.ssm.pojo.Teacher;

@Mapper
public interface TeacherDao {
    //mybatis mapper 默认接受一个参数
    int insert(@Param("pojo") Teacher pojo);

    int update(Teacher pojo);

    Teacher getTeacherByEmail(String email);
}
